package org.opengoofy.index12306.framework.starter.idempotent.core;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.aspectj.lang.ProceedingJoinPoint;
import org.opengoofy.index12306.framework.starter.idempotent.annotation.Idempotent;

/**
 * @author ling007
 * @date 2024/5/27 15:16
 * @desciption:幂等参数包装
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class IdempotentParamWrapper {

    /**
     * 幂等注解
     */
    private Idempotent idempotent;

    /**
     * AOP连接点
     */
    private ProceedingJoinPoint joinPoint;

    /**
     * 锁标识
     */
    private String lockKey;
}
